<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>浮动-父子关系</title>
    <style>
        div{
            text-align: center;
            margin: auto;

        }
        .f{
           width: 600px;
            
           overflow: hidden;
           position: absolute;
            top: 718px;
            left: 80px;
        }
        .b1{
            width: 100px;
            height: 40px;
            background-color: black;
            float: left;
        }
        .b2{
            width: 100px;
            height: 40px;
            background-color:black;
            float: left;
        }
        .b3{
            width: 100px;
            height: 40px;
            background-color:black;
            float: left;
        }
        .b4{
            width: 100px;
            height: 40px;
            background-color: black;
            float: left;
        }
        .b5{
            width: 100px;
            height: 40px;
            background-color:black;
            float: left;
        }
        .b6{
            width: 100px;
            height: 40px;
            background-color: black;
            float: left;
        }
        a{
            text-decoration: none;
            color: whitesmoke;
        }
        .other{
            width: 600px;
            border-top: 1px solid rgb(59, 59, 59); 
        }
        .b1:hover{
            background-color: white;
            a{
            text-decoration: none;
            color: black;
        }
        }
        .b2:hover{
            background-color: whitesmoke;
            a{
            text-decoration: none;
            color: black;
        }
        }
        .b3:hover{
            background-color:whitesmoke;
            a{
            text-decoration: none;
            color: black;
        }
        }
        .b4:hover{
            background-color: whitesmoke;
            a{
            text-decoration: none;
            color: black;
        }
        }
        .b5:hover{
            background-color:whitesmoke;
            a{
            text-decoration: none;
            color: black;
        }
        }
        .b6:hover{
            background-color: whitesmoke;
            a{
            text-decoration: none;
            color: black;
        }
        }
    </style>
</head>
<body>
    
    <img src="./img/sf.png" width="750px" height="750px" />
    <div class="f">
        <span class="b1"><a href="https://www.sf-express.com/chn/sc">查询快递</a></span>
        <span class="b2"><a href="https://www.sf-express.com/chn/sc">查询快递</a></span>
        <span class="b3"><a href="https://www.sf-express.com/chn/sc">查询快递</a></span>
        <span class="b4"><a href="https://www.sf-express.com/chn/sc">查询快递</a></span>
        <span class="b5"><a href="https://www.sf-express.com/chn/sc">查询快递</a></span>
        <span class="b6"><a href="https://www.sf-express.com/chn/sc">查询快递</a></span>
    </div>
    <div class="other"></div>
    
</body>    